package ink.waita.blog.domain.global;

import lombok.Data;

import java.util.Collection;

/**
 * create by aries
 * 集合数据包装类
 * @param <T>
 */
@Data
public class ObjectCollectionResponse<T> {
    private int code;
    private Collection<T> data;

    public ObjectCollectionResponse(Collection<T> data) {
        this.code = 200;
        this.data = data;
    }
}
